﻿<Page x:Class="HallTimer.Views.Subwindows.TimerPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" 
      d:DesignHeight="340" d:DesignWidth="450"
	Title="TimerPage" Unloaded="Page_Unloaded" xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon">

    <Grid>
        <Label Content="Minuten" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="minutesLabel" VerticalAlignment="Top" />
        <StackPanel Name="minutesStackPanel" Orientation="Horizontal" Margin="25,45,0,0"
                    HorizontalAlignment="Left" VerticalAlignment="Top">
            <RadioButton Content="3" GroupName="Timing" Name="t3MinutesRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="35" Width="40" Tag="3" Checked="timeRadioButton_Checked" />
            <RadioButton Content="5" GroupName="Timing" Name="t5MinutesRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="35" Width="40" Tag="5" Checked="timeRadioButton_Checked" />
            <RadioButton Content="10" GroupName="Timing" Name="t10MinutesRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="35" Width="40" Tag="10" Checked="timeRadioButton_Checked" />
            <RadioButton Content="15" GroupName="Timing" Name="t15MinutesRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="35" Width="40" Tag="15" Checked="timeRadioButton_Checked" />
            <RadioButton Content="20" GroupName="Timing" Name="t20MinutesRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="35" Width="40" Tag="20" Checked="timeRadioButton_Checked" />
            <RadioButton Content="25" GroupName="Timing" Name="t25MinutesRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="35" Width="40" Tag="25" Checked="timeRadioButton_Checked" />
            <RadioButton Content="30" GroupName="Timing" Name="t30MinutesRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="35" Width="40" Tag="30" Checked="timeRadioButton_Checked" />
        </StackPanel>
        <Label Content="Programma-onderdeel" Height="28" HorizontalAlignment="Left" Margin="12,100,0,0" Name="programLabel" VerticalAlignment="Top" />
        <StackPanel HorizontalAlignment="Left" Margin="26,135,0,0" Name="program1StackPanel" Orientation="Horizontal" VerticalAlignment="Top">
            <RadioButton Content="  Gemeentebijbelstudie  " GroupName="Timing"  Name="gbsRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="30" Checked="timeRadioButton_Checked" />
            <RadioButton Content="  BLG Bespreking  " GroupName="Timing"  Name="blgPart1RadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="2" Checked="timeRadioButton_Checked" />
            <RadioButton Content="  BLG Antwoorden  " GroupName="Timing"  Name="blgPart2RadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="6" Checked="timeRadioButton_Checked" />
        </StackPanel>
        <StackPanel HorizontalAlignment="Left" Margin="26,165,0,0" Name="program2StackPanel" Orientation="Horizontal" VerticalAlignment="Top">
            <RadioButton Content="  Voorlezen  " GroupName="Timing"  Name="voorlezenRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="3" Checked="timeRadioButton_Checked" />
            <RadioButton Content="  2e aandeel TBS  " GroupName="Timing"  Name="tbsNr2RadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="5" Checked="timeRadioButton_Checked" />
            <RadioButton Content="  3e aandeel TBS  " GroupName="Timing"  Name="tbsNr3RadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="5" Checked="timeRadioButton_Checked" />
        </StackPanel>

        <StackPanel HorizontalAlignment="Left" Margin="26,195,0,0" Name="zondagStackPanel" Orientation="Horizontal" VerticalAlignment="Top">
            <RadioButton Content="  Openbare Lezing  " GroupName="Timing"  Name="lectureRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="30" Checked="timeRadioButton_Checked" />
        </StackPanel>

        <Label Content="Aangepast" Height="28" HorizontalAlignment="Left" Margin="12,250,0,0" Name="adjustedTimeLabel" VerticalAlignment="Top" />
        <StackPanel HorizontalAlignment="Left" Margin="26,285,0,0" Name="adjustedTimeStackPanel" Orientation="Horizontal" VerticalAlignment="Top">
            <RadioButton Content="  Minuten:  " GroupName="Timing"  Name="adjustedTimeRadioButton" Style="{StaticResource {x:Type ToggleButton}}" 
                         Height="30" Tag="30" Checked="adjustedTimeRadioButton_Checked" Unchecked="adjustedTimeRadioButton_Unchecked" />
            <TextBox Height="30" HorizontalAlignment="Left" Name="timeTextBox" VerticalAlignment="Center" Width="100" Margin="10,0,0,0" 
                     IsEnabled="False" MaxLength="2" VerticalContentAlignment="Center" PreviewTextInput="timeTextBox_PreviewTextInput" 
                     TextChanged="timeTextBox_TextChanged" />
            <Label Content="(max. 2 cijfers)" Height="30" HorizontalAlignment="Left" Margin="10,0,0,0" Name="timeTextUitlegLabel" VerticalAlignment="Center" VerticalContentAlignment="Center" />
        </StackPanel>
        <Label Content="Resterend: " Height="28" HorizontalAlignment="Left" Margin="308,12,0,0" Name="resterendTempLabel" VerticalAlignment="Top" Width="130" />
    </Grid>
</Page>
